﻿using System;
using System.Collections.Generic;

namespace YJKRevitFamilyDataBase
{
	public class CategoryForSelect
	{
		public List<FamilyForSelect> FamilyList { get; set; }

		public DbCategory Parent { get; set; }

		public DbCategory Category { get; set; }

		public CategoryForSelect(DbCategory category)
		{
			this.Category = category;
			this.FamilyList = new List<FamilyForSelect>();
		}

		public override string ToString()
		{
			return this.Category.Name;
		}
	}
}
